package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: zhongyisheng
 * Date: 2024-07-04
 * Time: 20:44
 */
public class Test {
    public static void main(String[] args) {
        ComPuter comPuter = new ComPuter();
        comPuter.open();

        comPuter.useUsbDevice(new KeyBoard());
        comPuter.useUsbDevice(new Mouse());

        comPuter.close();
    }
}
